Chart for WPF and Silverlight > Chart Features > Series Generation > AutoGenerateSeries Property |
The chart data series can be generated manually or automatically.
The property AutoGenerateSeries specifies whether the series are created automatically. By default the AutoGenerateSeries property is null and only generates data series if Children collection is empty. While the series are being generated, chart analyzes the elements of Data.ItemsSource (or C1Chart.DataContext) collection and creates series for each property that has supported types (numeric,DateTime).
To control the process of series generation, use the Bindings property that allows to specify which properties should be plotted. For more information on the Bindings property, see Data Series Binding.